From 3dd7b7f5b5779462274749b1b7e77bb3dcb365f7 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Fri, 5 Feb 2021 22:26:51 +0100 Subject: [PATCH] [PATCH 10/10] minor cleanup Gbp-Pq: Name 0010-minor-cleanup.patch --- cmake/LLVM.cmake | 1 + lib/CL/devices/devices.h | 1 - lib/CL/pocl_cache.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/LLVM.cmake b/cmake/LLVM.cmake index 5db1cf2..86c8194 100644 --- a/cmake/LLVM.cmake +++ b/cmake/LLVM.cmake @@ -731,6 +731,7 @@ if(NOT DEFINED CLANG_MARCH_FLAG) message(FATAL_ERROR "Could not determine whether to use -march or -mcpu with clang") endif() endif() + message(STATUS " Using ${CLANG_MARCH_FLAG}") set(CLANG_MARCH_FLAG ${CLANG_MARCH_FLAG} CACHE INTERNAL "Clang option used to specify the target cpu") endif() diff --git a/lib/CL/devices/devices.h b/lib/CL/devices/devices.h index 2c8c222..bbb0a66 100644 --- a/lib/CL/devices/devices.h +++ b/lib/CL/devices/devices.h @@ -70,7 +70,6 @@ unsigned int pocl_get_devices(cl_device_type device_type, struct _cl_device_id * */ int pocl_device_get_env_count(const char *dev_type); - /** * \brief Unique global memory id for devices with distinct memory from the system memory * \return Unique global mem id, id > 0. Zero is reserved for shared system memory diff --git a/lib/CL/pocl_cache.c b/lib/CL/pocl_cache.c index b3d9caa..e9dc995 100644 --- a/lib/CL/pocl_cache.c +++ b/lib/CL/pocl_cache.c @@ -517,7 +517,7 @@ pocl_cache_init_topdir () "library. \nThis is not a bug in pocl and there's nothing we " "can do to fix it - you need both pocl and your program to be" " compiled for your system. This is known to happen with " - "Luxmark benchmark binaries dowloaded from website; Luxmark " + "Luxmark benchmark binaries downloaded from website; Luxmark " "installed from your linux distribution's packages should " "work.\n", cache_topdir); -- 2.30.2